# -*- coding: utf-8 -*-
# 程序基本框架
import requests
# import json
# from bs4 import BeautifulSoup

# #获取订单信息
# loginHead={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36',
# 	 		   'Referer': 'https://www.adidas.com.cn/customer/account/login/'}
# orderUrl='https://www.adidas.com.cn/sales/order/history/'
# orderHtml=requests.get(orderUrl,headers=loginHead,cookies=loginCookie)
# #print orderHtml.text
# ordersoup=BeautifulSoup(orderHtml.text,"html.parser")
# orderinfo=ordersoup.select('.blue a')
# # print orderinfoUrl
# for orderinfos in orderinfo:
# 	print orderinfos['href']
# 	orderinfosHtml=requests.get(orderinfos['href'],headers=loginHead,cookies=loginCookie)
# 	#print orderinfosHtml.text
# 	orderinfosSoup=BeautifulSoup(orderinfosHtml.text,"html.parser")
# 	userinfo=orderinfosSoup.select('.orderTable')[0]
# 	print userinfo.text
# 	spinfo=orderinfosSoup.select('.inventoryBox')[0]
# 	print spinfo.text